package cn.itcast.scala

/*
2022.03.07 afternoon by donghui
 */

object SingletonObject {
  def hello(): Unit =
  {
    println("This is a single Object.")
  }
}

object Singleton {
  def main(args: Array[String]): Unit = {
    SingletonObject.hello
  }
}
